Total Complexity | 15 |
Dependencies | 0 |
Dependents | 4 |
Total lines | 225 |
Lines of code | 197 |
Logical lines of code | 30 |
Comment lines | 2 |
Methods | 12 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_subscription() | 48 | 4 | 34 | |
create_tables() | 45 | 1 | 70 | |
create_subscription_item() | 58 | 1 | 16 | |
get_subscription_meta() | 64 | 1 | 11 | |
__construct() | 65 | 1 | 9 | |
get_subscription() | 68 | 1 | 8 | |
update_subscription_status() | 69 | 1 | 7 | |
update_next_payment_date() | 69 | 1 | 7 | |
get_active_subscriptions_for_user() | 67 | 1 | 9 | |
get_subscriptions_for_renewal() | 69 | 1 | 8 | |
add_subscription_meta() | 65 | 1 | 10 | |
get_subscription_items() | 68 | 1 | 8 |